.container-demo {
    width:100%;
    margin-top: 10px;
    height: 360px;
    border-radius: 10px;
    gap: 40px;
}
.conleft{
    background: #f0f0f0;
    width: 26%;
    height: 340px;
    border-radius: 10px;
}
.conmiddle{
    background: #f0f0f0;
    width: 51%;
    height: 340px;
    border-radius: 10px;
    display: flex;
}
.conright{
    background: #f0f0f0;
    width: 22%;
    height: 340px;
    border-radius: 10px;
}
.conmiddleleft{
    border-radius: 10px;
    margin: 5px 5px;
    background: #5FB878;
    width: 48%;
    height: 97%
}
.conmiddlemid{
    width: 50%;
    height: 100%;
    border-radius: 10px;
}
.conmiddlemid_one{
    border-radius: 10px;
    margin-top: 5px;
    background: #5f96b8;
    width: 100%;
    height: 48%;
}
.conmiddlemid_enm{
    border-radius: 10px;
    margin-top: 5px;
    background: #99b0be;
    width: 100%;
    height: 48%;
}
/* 卡片样式 */
.profile-card {
    width: 100%;
    height:100%;
    background: linear-gradient(to bottom right, #4c6ef5, #5a80f6);
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 20px 10px;
    box-sizing: border-box;
}

/* 顶部标签 */
.top-tag {
    background-color: #8da7ff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 头像样式 */
.avatar-container {
    margin: 40px auto 20px;
    width: 120px;
    height: 120px;
    border: 5px solid white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 用户名样式 */
.username {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px;
}

/* 副标题样式 */
.subtitle {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* 底部图标 */
.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-icons img {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
}


.menu-dlc{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 35px;
    padding: 7px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
}
/* 浮空弹窗遮罩层 */
.usermodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(8px);
}


.login-modal h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}
/* 基础按钮样式 */
.glow-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 19px;
    color: #1296db;
    background: transparent;
    border: 2px solid #00bfff; /* 描边颜色 */
    border-radius: 30px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px #00bfff; /* 初始微光效果 */
    text-align: center;
}

/* 鼠标悬停时的发光效果 */
.glow-button:hover {
    box-shadow:
            0 0 40px rgba(0, 191, 255, 0.5); /* 外发光的透明度变化 */
    color: #fff; /* 字体颜色变白 */
    background-color: rgba(0, 191, 255, 0.1); /* 背景增加透明蓝色 */
}

/* 图标样式 */
.glow-button .icon {
    margin-right: 8px;
    font-size: 18px;
}

/* 弹窗头部 */
.modal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* 确保登录框是相对定位 */
.usermodal-content {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* 初始时透明 */
    animation: fadeInModal 0.5s ease-out forwards; /* 弹窗的渐显动画 */
}
/* 动画：遮罩层渐显 */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 动画：弹窗渐显 */
@keyframes fadeInModal {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* 初始时稍微上移 */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* 最终回到正常位置 */
    }
}


/* 关闭按钮的样式 */
.userclose-icon {
    position: absolute;
    top: 16px;
    right: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 9999; /* 确保按钮在最上层 */
}

/* 关闭按钮 */
.userclose-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
/* 退出动画：遮罩层渐隐 */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* 退出动画：弹窗渐隐 */
@keyframes fadeOutModal {
    0% {
        opacity: 1;
        transform: translateY(0); /* 初始时处于正常位置 */
    }
    100% {
        opacity: 0;
        transform: translateY(-20px); /* 退出时略微上移 */
    }
}
/* 当弹窗显示时 */
.modal-overlay-enter-active, .modal-content-enter-active {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 当弹窗消失时 */
.modal-overlay-leave-active, .modal-content-leave-active {
    animation: fadeOut 0.5s ease-out forwards; /* 遮罩层渐隐 */
}

.modal-overlay-leave-to, .modal-content-leave-to {
    opacity: 0;
    transform: translateY(-20px); /* 弹窗退出时的动画效果 */
}

.close-icon:hover {
    transform: scale(1.1); /* 悬停放大 */
    opacity: 0.8;
}
